gtk/gtkbutton.[ch] fixed inline comments
authorSven Neumann <sven@gimp.org>
Fri, 26 Oct 2001 15:44:20 +0000 (15:44 +0000)
committerSven Neumann <neo@src.gnome.org>
Fri, 26 Oct 2001 15:44:20 +0000 (15:44 +0000)
2001-10-26  Sven Neumann  <sven@gimp.org>

        * gtk/gtkbutton.[ch]
        * gtk/gtkdnd.c: fixed inline comments

        * gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.

docs/reference/gtk/tmpl/gtkbutton.sgml
gtk/gtkbutton.c
gtk/gtkbutton.h
gtk/gtkdnd.c
gtk/gtkgamma.c

index c2e2650bb89dfc6dbf8db9d357fb0bdeb3e6cab3..6d921057e6cda8958ecf2d96b42d7390e880e943 100644 (file)
@@ -158,6 +158,8 @@ Returns the current relief style of the given #GtkButton.
 </para>
 
 @button: 
+@use_stock: 
+<!-- # Unused Parameters # -->
 @value: 
 
 
@@ -176,6 +178,8 @@ Returns the current relief style of the given #GtkButton.
 </para>
 
 @button: 
+@use_underline: 
+<!-- # Unused Parameters # -->
 @value: 
 
 
index aeca79681c491c29eedc156f50adc61f6f3c0833..eefc24f15c42b017f80efb998e0404da0351c22f 100644 (file)
@@ -1148,7 +1148,7 @@ gtk_button_set_use_underline (GtkButton *button,
 
 /**
  * gtk_button_get_use_underline:
- * @label: a #GtkButton
+ * @button: a #GtkButton
  *
  * Returns whether an embedded underline in the button label indicates a
  * mnemonic. See gtk_button_set_use_underline ().
index b27df541a82f643f331dcc9cf9313a98b377003f..3f40d54d3bc33e9860dbce68ac92d559e321aa94 100644 (file)
@@ -96,10 +96,10 @@ void                  gtk_button_set_label         (GtkButton   *button,
                                                    const gchar *label);
 G_CONST_RETURN gchar *gtk_button_get_label         (GtkButton   *button);
 void                  gtk_button_set_use_underline (GtkButton   *button,
-                                                   gboolean     value);
+                                                   gboolean     use_underline);
 gboolean              gtk_button_get_use_underline (GtkButton   *button);
 void                  gtk_button_set_use_stock     (GtkButton   *button,
-                                                   gboolean     value);
+                                                   gboolean     use_stock);
 gboolean              gtk_button_get_use_stock     (GtkButton   *button);
 void                  _gtk_button_set_depressed    (GtkButton   *button,
                                                    gboolean     depressed);
index bebb9b49af5d13db0df6d53945f3805639151eae..0a61e0bf121bbfe609fa62ce0bbc315c1c8a28ad 100644 (file)
@@ -2037,8 +2037,7 @@ gtk_drag_source_set_icon_pixbuf (GtkWidget   *widget,
 /**
  * gtk_drag_source_set_icon_stock:
  * @widget: a #GtkWidget
- * @stock: the ID of the stock icon to use
- * @size: size at which to render the stock icon
+ * @stock_id: the ID of the stock icon to use
  *
  * Sets the icon that will be used for drags from a particular source
  * to a stock icon. 
index 4eb9f410c088342830926cd2e3833f1d0aeabfe3..2eb3c4e795149e606594cf82030abfde6fea5151 100644 (file)
@@ -360,7 +360,8 @@ static void
 gamma_ok_callback (GtkWidget *w, gpointer data)
 {
   GtkGammaCurve *c = data;
-  gchar *start, *end;
+  const gchar *start;
+  gchar *end;
   gfloat v;
 
   start = gtk_entry_get_text (GTK_ENTRY (c->gamma_text));